#!/usr/bin/python
import sys, os, re, types, time, glob, traceback
import zipfile
import pickle
import ConfigParser
from optparse import OptionParser

sys.path.append('lib/')
from wglib.wgcommon import *  
from wglib.WoWIndex import *

if __name__ == "__main__":
  parser = OptionParser()
  parser.add_option("-f", "--force",
                    action="store_true", dest="force", default=False,
                    help="force indexing to occur")
  parser.add_option("-q", "--quiet",
                    action="store_false", dest="verbose", default=True,
                    help="don't print status messages to stdout")
  parser.add_option("-c", "--conf",
                    dest="configuration", metavar="FILE", help="use the specified configuration file")
  (options, args) = parser.parse_args()
  WoWIndex = WoWIndex(options, args)
  WoWIndex.allArchives()
  

